import ElTableColumnPro from "./ElTableColumnPro";
import ElFormPro from "./ElFormPro";
import ElSearchQuery from "./ElSearchQuery";
import CropperPhoto from "./CropperPhoto";
import { ElInfo, ElInfoItem } from "./ElInfo";
import {
  ElTableFilter,
  ColumnFilter,
  ElTableColumnFilter
} from "./ElTableFilter";
import EditableGrid from "./EditableGrid";
import EditableGrid1 from "./EditableGrid/Index0.vue";
import EditableTreeGrid from "./EditableTreeGrid";
import PreviewPdf from "./PreviewPdf";
import PreviewVideo from "./PreviewVideo";
import PreviewImage from "./PreviewImage";
import FileList from "./FileList";
import ElEmpty from "./ElEmpty";
export const componentsMap = {
  ElTableColumnPro,
  ElFormPro,
  ElSearchQuery,
  CropperPhoto,
  ElInfo,
  ElInfoItem,
  ElTableFilter,
  ColumnFilter,
  ElTableColumnFilter,
  EditableGrid,
  EditableGrid1,
  EditableTreeGrid,
  PreviewPdf,
  PreviewVideo,
  PreviewImage,
  FileList,
  ElEmpty
};
const components = Object.values(componentsMap);
const install = function(Vue, opts = {}) {
  components.forEach(component => {
    Vue.component(component.name, component);
  });
};
if (typeof window !== "undefined" && window.Vue) {
  install(window.Vue);
}
export default {
  install,
  ...components
};
